package cn.zn.modules.pz.cur.entity;

import cn.zn.framework.common.abs.AbsOldMainEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tp_attachment")
public class TpAttachment extends AbsOldMainEntity {

    @TableField(value = "CONTENT_TYPE_")
    private String contentType;

    @TableField(value = "DESC_")
    private String desc;

    @TableField(value = "GENERATE_NAME_")
    private String generateName;

    @TableField(value = "PATH_LOCAL_")
    private String pathLocal;

    @TableField(value = "PATH_RELATIVE_")
    private String pathRelative;

    @TableField(value = "REAL_NAME_")
    private String realName;

    @TableField(value = "SIZE_")
    private Long size;

    @TableField(value = "SUFFIX_")
    private String suffix;

    @TableField(value = "IS_MAIN_")
    private Boolean isMain;

    @TableField(value = "ATTACHMENT_TYPE_")
    private String attachmentType;

    @TableField(value = "TP_MAIN_ID_")
    private String tpMainId;
}